package cn.com.dycc.party_work.education_dept.entity;

import cn.com.dycc.common.page.TablePublicAttri;

/**
 * 
 * Description: 教育学习成果反馈实体
 * Author: Liket
 * Version: 1.0
 * Create Date Time: 2018年6月29日 下午2:47:11.
 * Update Date Time: 
 * @see
 */
public class EducationDeptInfo extends TablePublicAttri {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2063456868476169722L;
	private String education_id;
	private String education_flag;
	private String education_flag_desc;
	private String dept_id;
	
	private String education_name;
	private String dept_name;
	private String username;
	
	
	
	public EducationDeptInfo(){
		
	}

	
	

	public EducationDeptInfo(String education_id, String education_flag, String education_flag_desc, String dept_id,
			String education_name, String dept_name, String username) {
		super();
		this.education_id = education_id;
		this.education_flag = education_flag;
		this.education_flag_desc = education_flag_desc;
		this.dept_id = dept_id;
		this.education_name = education_name;
		this.dept_name = dept_name;
		this.username = username;
	}




	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((dept_id == null) ? 0 : dept_id.hashCode());
		result = prime * result + ((education_id == null) ? 0 : education_id.hashCode());
		return result;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		EducationDeptInfo other = (EducationDeptInfo) obj;
		if (dept_id == null) {
			if (other.dept_id != null)
				return false;
		} else if (!dept_id.equals(other.dept_id))
			return false;
		if (education_id == null) {
			if (other.education_id != null)
				return false;
		} else if (!education_id.equals(other.education_id))
			return false;
		return true;
	}


	


	@Override
	public String toString() {
		return "EducationDeptInfo [education_id=" + education_id + ", education_flag=" + education_flag
				+ ", education_flag_desc=" + education_flag_desc + ", dept_id=" + dept_id + ", education_name="
				+ education_name + ", dept_name=" + dept_name + ", username=" + username + "]";
	}


	

	public String getEducation_flag() {
		return education_flag;
	}




	public void setEducation_flag(String education_flag) {
		this.education_flag = education_flag;
	}




	public String getEducation_flag_desc() {
		return education_flag_desc;
	}




	public void setEducation_flag_desc(String education_flag_desc) {
		this.education_flag_desc = education_flag_desc;
	}




	public String getEducation_id() {
		return education_id;
	}


	public void setEducation_id(String education_id) {
		this.education_id = education_id;
	}


	public String getDept_id() {
		return dept_id;
	}


	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}


	public String getEducation_name() {
		return education_name;
	}


	public void setEducation_name(String education_name) {
		this.education_name = education_name;
	}


	public String getDept_name() {
		return dept_name;
	}


	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}
	

}
